package com.ruoyi.safety.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType; //添加
import com.baomidou.mybatisplus.annotation.TableId; //添加
import com.baomidou.mybatisplus.annotation.TableName; //添加
import lombok.Data; //添加

import java.io.Serializable; //添加

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分站基本信息对象 safety_substation_info
 *
 * @author ruoyi
 * @date 2024-10-30
 */
@Data //添加
@TableName("safety_substation_info") //添加
public class SafetySubstationInfo extends BaseEntity implements Serializable //修改
{
    private static final long serialVersionUID = 1L;

    /**
     * 分站编码
     */
    //添加
    @TableId(value = "id", type = IdType.AUTO)
    private String substationCode;

    /**
     * 分站安装位置
     */
    @Excel(name = "分站安装位置")
    private String substationInstallLocation;

    /**
     * x
     */
    @Excel(name = "x")
    private String coorX;

    /**
     * y
     */
    @Excel(name = "y")
    private String coorY;

    /**
     * z
     */
    @Excel(name = "z")
    private String coorZ;

    /**
     * $column.columnComment
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend1;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend2;

}

